#include <stdio.h>
#include "../tools/feature.h"

int main(int argc, char** argv) {
	double hist[129];
	int ret,i;
	if (argc < 2)
		return -2;
	ret = feature1D(argv[1], hist, 64);
	if (ret >= 0) {
		printf("0");
		for (i=0;i<129;i++)
			printf(" %d:%.4f",i, hist[i]);
		printf("\n");
	}
	return 0;
}